import { createApp } from 'vue'
import '@/assets/style/normalize.css'
import './style.css'
import router from './router'
import { createPinia } from "pinia";
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate' // 新增
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';



import App from './App.vue'

const app = createApp(App);
const pinia = createPinia();
pinia.use(piniaPluginPersistedstate); //新增

app.use(ElementPlus).use(router).use(pinia);

app.mount('#app');
